/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI;

import Controlador.ControladorHotel;
import GUI.Evento.PanelColaborador;
import GUI.Evento.PanelEvento;
//import GUI.Evento.PanelGuardarEvento;
import GUI.GestionEspacioDeportivo.PanelEditarEspacioDeportivo;
import GUI.GestionEspacioDeportivo.PanelEliminarEspacioDeportivo;
import GUI.GestionEspacioDeportivo.PanelGuardarEspacioDeportivo;
import Logica.Colaborador;
import Logica.Evento;
import Logica.Hotel;
import java.awt.BorderLayout;
import java.util.List;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author CORE i5
 */
public class Olympus extends javax.swing.JFrame {

    /**
     * Creates new form Olympus
     */
    private String usuario, rol;
    private ControladorHotel controladorHotel;
    private Evento evento;

    public Olympus(String usuario, String rol, Colaborador col) {
        super("OlympusSoft");
        initComponents();
        this.usuario = usuario;
        this.rol = rol;
        controladorHotel = new ControladorHotel();
        inicializarTodo(rol,col);
         
         

        //Usuarios:
        //master -> El que mueve todo el sistema
        //admin -> Administradores de eventos
        //deportivo -> Director deportivo
        //logistica -> Director logistica
        //arbitros -> Arbitros :D
        
        actualizarHoteles();
    }

    private void actualizarHoteles() {
        hotel_hoteles.removeAllItems();
        hoteles_eliminar.removeAllItems();
        List<Hotel> hoteles = controladorHotel.consultarTodo();
        llenarConsultaHoteles(hoteles);
        for (int i = 0; i < hoteles.size(); i++) {
            hoteles_eliminar.addItem(hoteles.get(i).getNombre() + "/" + hoteles.get(i).getIdHotel());
            hotel_hoteles.addItem(hoteles.get(i).getNombre() + "/" + hoteles.get(i).getIdHotel());
        }
    }
    public void inicializarTodo(String rol, Colaborador col){
        
         if (rol.equals("Admin")) {
           pestañero.setEnabledAt(0, false);//Boleteria
           pestañero.setEnabledAt(1, false);//Competencias
           pestañero.setEnabledAt(2, false);//Deportistas
           pestañero.setEnabledAt(3, false);//Espacio Deportivo
           pestañero.setEnabledAt(5, false);//Hoteles
           pestañero.setEnabledAt(6, false);//Medalleria
           pestañero.setEnabledAt(7, false);//Periodistas
           pestañero.setEnabledAt(8, false);//Colaborador
           //pestañero.setEnabledAt(9,false);//Disciplina
           añadirPanelEvento();
        }else if (rol.equals("Deportivo")) {
            pestañero.setEnabledAt(0, false);
            pestañero.setEnabledAt(4, false);
            pestañero.setEnabledAt(5, false);
            pestañero.setEnabledAt(6, false);
            pestañero.setEnabledAt(8, false);
            evento=col.getIdEvento();
            
        }else if (rol.equals("Logistica")) {
            //añadirPanelColaborador();
           pestañero.setEnabledAt(0, false);//Boleteria
           pestañero.setEnabledAt(1, false);//Competencias
           pestañero.setEnabledAt(2, false);//Deportistas
           pestañero.setEnabledAt(8, false);//Colaborador
           pestañero.setEnabledAt(9,false);//Disciplina
           pestañero.setEnabledAt(6, false);//Medalleria
           pestañero.setEnabledAt(4, false);
           evento=col.getIdEvento();
            
        }else if (rol.equals("Arbitro")) {
           pestañero.setEnabledAt(0, false);//Boleteria
           //pestañero.setEnabledAt(1, false);//Competencias
           pestañero.setEnabledAt(2, false);//Deportistas
           pestañero.setEnabledAt(3, false);//Espacio Deportivo
           pestañero.setEnabledAt(5, false);//Hoteles
           pestañero.setEnabledAt(6, false);//Medalleria
           pestañero.setEnabledAt(7, false);//Periodistas
           pestañero.setEnabledAt(8, false);//Colaborador
           //pestañero.setEnabledAt(9,false);//Disciplina
           pestañero.setEnabledAt(4, false);
            evento=col.getIdEvento();
        }else if (rol.equals("Administrativo")){
           //pestañero.setEnabledAt(0, false);//Boleteria
           pestañero.setEnabledAt(1, false);//Competencias
           pestañero.setEnabledAt(2, false);//Deportistas
           pestañero.setEnabledAt(3, false);//Espacio Deportivo
           pestañero.setEnabledAt(5, false);//Hoteles
           pestañero.setEnabledAt(6, false);//Medalleria
           pestañero.setEnabledAt(7, false);//Periodistas
           pestañero.setEnabledAt(8, false);//Colaborador
           //pestañero.setEnabledAt(9,false);//Disciplina
           pestañero.setEnabledAt(4, false);
            evento=col.getIdEvento();
        }else if (rol.equals("Director")){
            añadirPanelColaborador();
            añadirPanelEvento();
        }
    }
    public void añadirPanelEvento(){
        PanelEvento panelE= new PanelEvento();
        panelEvento.removeAll();
       // panelEvento.add(g);
        panelEvento.setLayout(new BorderLayout());
        panelEvento.add(panelE, BorderLayout.CENTER);
        panelE.setSize(panelE.getWidth(), panelE.getHeight());
        panelE.validate();
        panelE.setVisible(true);
        panelEvento.setVisible(true);
        panelEvento.validate();
    }
    
    public void añadirPanelColaborador(){
        PanelColaborador panelC= new PanelColaborador(evento);
        panelColaborador.removeAll();
       // panelEvento.add(g);
        panelColaborador.setLayout(new BorderLayout());
        panelColaborador.add(panelC, BorderLayout.CENTER);
        panelC.setSize(panelC.getWidth(), panelC.getHeight());
        panelC.validate();
        panelC.setVisible(true);
        panelColaborador.setVisible(true);
        panelColaborador.validate();
    }
    
    public void llenarConsultaHoteles(List<Hotel> h) {
        for (int i = 0; i < h.size(); i++) {
            try {
                hotel_consulta.setValueAt(h.get(i).getIdHotel(), i, 0);
                hotel_consulta.setValueAt(h.get(i).getNombre(), i, 1);
                hotel_consulta.setValueAt(h.get(i).getDireccion(), i, 2);
                hotel_consulta.setValueAt(h.get(i).getTelefono(), i, 3);
                hotel_consulta.setValueAt(h.get(i).getWeb(), i, 4);
            } catch (Exception e) {
                DefaultTableModel temp = (DefaultTableModel) hotel_consulta.getModel();
                Object nuevo[] = {temp.getRowCount() + 1, "", ""};
                temp.addRow(nuevo);
            }
        }
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pestañero = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jPanel3 = new javax.swing.JPanel();
        jPanel4 = new javax.swing.JPanel();
        jBCrearEspacioDeportivo = new javax.swing.JButton();
        jBEditarEspacioDeportivo = new javax.swing.JButton();
        jPGestionEspacioDeportivo = new javax.swing.JPanel();
        jButton4 = new javax.swing.JButton();
        jPanel5 = new javax.swing.JPanel();
        panelEvento = new javax.swing.JPanel();
        jPanel6 = new javax.swing.JPanel();
        jTabbedPane2 = new javax.swing.JTabbedPane();
        jPanel9 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        hotel_nombre = new javax.swing.JTextField();
        hotel_dir = new javax.swing.JTextField();
        hotel_tel = new javax.swing.JTextField();
        hotel_web = new javax.swing.JTextField();
        jButton1 = new javax.swing.JButton();
        jPanel10 = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        hotel_hoteles = new javax.swing.JComboBox();
        jSeparator1 = new javax.swing.JSeparator();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        hotel_editarN = new javax.swing.JTextField();
        hotel_editarD = new javax.swing.JTextField();
        hotel_editarT = new javax.swing.JTextField();
        hotel_editarP = new javax.swing.JTextField();
        jButton2 = new javax.swing.JButton();
        jPanel11 = new javax.swing.JPanel();
        jLabel10 = new javax.swing.JLabel();
        hoteles_eliminar = new javax.swing.JComboBox();
        jSeparator2 = new javax.swing.JSeparator();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        hotel_eliminarN = new javax.swing.JLabel();
        hotel_eliminarD = new javax.swing.JLabel();
        jButton3 = new javax.swing.JButton();
        jPanel12 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        hotel_consulta = new javax.swing.JTable();
        jPanel13 = new javax.swing.JPanel();
        jPanel14 = new javax.swing.JPanel();
        jLabel13 = new javax.swing.JLabel();
        hotel_eventos = new javax.swing.JComboBox();
        jSeparator3 = new javax.swing.JSeparator();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jPanel7 = new javax.swing.JPanel();
        jPanel8 = new javax.swing.JPanel();
        panelColaborador = new javax.swing.JPanel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 800, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 483, Short.MAX_VALUE)
        );

        pestañero.addTab("Boleteria", jPanel1);

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 800, Short.MAX_VALUE)
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 483, Short.MAX_VALUE)
        );

        pestañero.addTab("Competencias", jPanel2);

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 800, Short.MAX_VALUE)
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 483, Short.MAX_VALUE)
        );

        pestañero.addTab("Deportistas", jPanel3);

        jBCrearEspacioDeportivo.setText("Guardar Nuevo Espacio Deportivo");
        jBCrearEspacioDeportivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBCrearEspacioDeportivoActionPerformed(evt);
            }
        });

        jBEditarEspacioDeportivo.setText("Editar Datos de un Espacio Deportivo");
        jBEditarEspacioDeportivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBEditarEspacioDeportivoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPGestionEspacioDeportivoLayout = new javax.swing.GroupLayout(jPGestionEspacioDeportivo);
        jPGestionEspacioDeportivo.setLayout(jPGestionEspacioDeportivoLayout);
        jPGestionEspacioDeportivoLayout.setHorizontalGroup(
            jPGestionEspacioDeportivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 488, Short.MAX_VALUE)
        );
        jPGestionEspacioDeportivoLayout.setVerticalGroup(
            jPGestionEspacioDeportivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE)
        );

        jButton4.setText("Eliminar Datos de un Espacio Deportivo");
        jButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton4ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jBEditarEspacioDeportivo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jBCrearEspacioDeportivo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPGestionEspacioDeportivo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPGestionEspacioDeportivo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addComponent(jBCrearEspacioDeportivo, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jBEditarEspacioDeportivo, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 330, Short.MAX_VALUE)))
                .addContainerGap())
        );

        pestañero.addTab("Espacio Deportivo", jPanel4);

        javax.swing.GroupLayout panelEventoLayout = new javax.swing.GroupLayout(panelEvento);
        panelEvento.setLayout(panelEventoLayout);
        panelEventoLayout.setHorizontalGroup(
            panelEventoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 661, Short.MAX_VALUE)
        );
        panelEventoLayout.setVerticalGroup(
            panelEventoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 424, Short.MAX_VALUE)
        );

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
                .addComponent(panelEvento, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGap(139, 139, 139))
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap(59, Short.MAX_VALUE)
                .addComponent(panelEvento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pestañero.addTab("Evento", jPanel5);

        jLabel1.setText("Nombre del Hotel:");

        jLabel2.setText("Dirección:");

        jLabel3.setText("Teléfono:");

        jLabel4.setText("Página Web:");

        jButton1.setText("Guardar");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
        jPanel9.setLayout(jPanel9Layout);
        jPanel9Layout.setHorizontalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addGap(117, 117, 117)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel1)
                            .addComponent(jLabel2)
                            .addComponent(jLabel3)
                            .addComponent(jLabel4))
                        .addGap(125, 125, 125)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(hotel_nombre)
                            .addComponent(hotel_dir)
                            .addComponent(hotel_tel)
                            .addComponent(hotel_web, javax.swing.GroupLayout.DEFAULT_SIZE, 259, Short.MAX_VALUE)))
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addGap(273, 273, 273)
                        .addComponent(jButton1)))
                .addContainerGap(188, Short.MAX_VALUE))
        );
        jPanel9Layout.setVerticalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(hotel_nombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(32, 32, 32)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel2)
                    .addComponent(hotel_dir, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(37, 37, 37)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(hotel_tel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(45, 45, 45)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel4)
                    .addComponent(hotel_web, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(51, 51, 51)
                .addComponent(jButton1)
                .addContainerGap(154, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Crear", jPanel9);

        jLabel5.setText("Seleccione el hotel deseado:");

        hotel_hoteles.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                hotel_hotelesItemStateChanged(evt);
            }
        });

        jLabel6.setText("Nombre del hotel:");

        jLabel7.setText("Dirección:");

        jLabel8.setText("Teléfono:");

        jLabel9.setText("Página Web:");

        jButton2.setText("Modificar");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.TRAILING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addGap(112, 112, 112)
                        .addComponent(jLabel5)
                        .addGap(69, 69, 69)
                        .addComponent(hotel_hoteles, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addGap(116, 116, 116)
                        .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel6)
                            .addComponent(jLabel7)
                            .addComponent(jLabel8)
                            .addComponent(jLabel9))
                        .addGap(115, 115, 115)
                        .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(hotel_editarN)
                            .addComponent(hotel_editarD)
                            .addComponent(hotel_editarT)
                            .addComponent(hotel_editarP, javax.swing.GroupLayout.DEFAULT_SIZE, 270, Short.MAX_VALUE)))
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addGap(273, 273, 273)
                        .addComponent(jButton2)))
                .addContainerGap(189, Short.MAX_VALUE))
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(hotel_hoteles, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(hotel_editarN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(44, 44, 44)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(hotel_editarD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(42, 42, 42)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(hotel_editarT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(39, 39, 39)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(hotel_editarP, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(26, 26, 26)
                .addComponent(jButton2)
                .addContainerGap(126, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Editar", jPanel10);

        jLabel10.setText("Seleccione el hotel:");

        hoteles_eliminar.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                hoteles_eliminarItemStateChanged(evt);
            }
        });

        jLabel11.setText("Nombre:");

        jLabel12.setText("Dirección:");

        jButton3.setText("Eliminar");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addGap(117, 117, 117)
                .addComponent(jLabel10)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 229, Short.MAX_VALUE)
                .addComponent(hoteles_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, 282, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(55, 55, 55))
            .addComponent(jSeparator2, javax.swing.GroupLayout.Alignment.TRAILING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addGap(139, 139, 139)
                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel11)
                            .addComponent(jLabel12))
                        .addGap(119, 119, 119)
                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(hotel_eliminarN, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(hotel_eliminarD, javax.swing.GroupLayout.DEFAULT_SIZE, 280, Short.MAX_VALUE)))
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addGap(274, 274, 274)
                        .addComponent(jButton3)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(hoteles_eliminar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel11)
                    .addComponent(hotel_eliminarN, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(38, 38, 38)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel12)
                    .addComponent(hotel_eliminarD, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(69, 69, 69)
                .addComponent(jButton3)
                .addContainerGap(222, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Eliminar", jPanel11);

        hotel_consulta.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "ID", "Nombre", "Dirección", "Telefono", "Página Web"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane1.setViewportView(hotel_consulta);
        hotel_consulta.getColumnModel().getColumn(0).setResizable(false);
        hotel_consulta.getColumnModel().getColumn(1).setResizable(false);
        hotel_consulta.getColumnModel().getColumn(2).setResizable(false);
        hotel_consulta.getColumnModel().getColumn(3).setResizable(false);
        hotel_consulta.getColumnModel().getColumn(4).setResizable(false);

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addGap(42, 42, 42)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 558, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(175, Short.MAX_VALUE))
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 411, Short.MAX_VALUE)
                .addContainerGap())
        );

        jTabbedPane2.addTab("Consultar", jPanel12);

        javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
        jPanel13.setLayout(jPanel13Layout);
        jPanel13Layout.setHorizontalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 775, Short.MAX_VALUE)
        );
        jPanel13Layout.setVerticalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 433, Short.MAX_VALUE)
        );

        jTabbedPane2.addTab("Registrar Evento?????", jPanel13);

        jLabel13.setText("Seleccione el hotel, para ver sus eventos asociados:");

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane2.setViewportView(jTable1);

        javax.swing.GroupLayout jPanel14Layout = new javax.swing.GroupLayout(jPanel14);
        jPanel14.setLayout(jPanel14Layout);
        jPanel14Layout.setHorizontalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel14Layout.createSequentialGroup()
                .addGap(0, 121, Short.MAX_VALUE)
                .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 654, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel14Layout.createSequentialGroup()
                        .addGap(54, 54, 54)
                        .addComponent(jLabel13)
                        .addGap(33, 33, 33)
                        .addComponent(hotel_eventos, javax.swing.GroupLayout.PREFERRED_SIZE, 279, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel14Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 598, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel14Layout.setVerticalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel13)
                    .addComponent(hotel_eventos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 283, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(97, Short.MAX_VALUE))
        );

        jTabbedPane2.addTab("Mostrar Eventos???", jPanel14);

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jTabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 780, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jTabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 461, Short.MAX_VALUE)
                .addContainerGap())
        );

        pestañero.addTab("Hoteles", jPanel6);

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 800, Short.MAX_VALUE)
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 483, Short.MAX_VALUE)
        );

        pestañero.addTab("Medalleria", jPanel7);

        javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 800, Short.MAX_VALUE)
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 483, Short.MAX_VALUE)
        );

        pestañero.addTab("Periodistas", jPanel8);

        javax.swing.GroupLayout panelColaboradorLayout = new javax.swing.GroupLayout(panelColaborador);
        panelColaborador.setLayout(panelColaboradorLayout);
        panelColaboradorLayout.setHorizontalGroup(
            panelColaboradorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 800, Short.MAX_VALUE)
        );
        panelColaboradorLayout.setVerticalGroup(
            panelColaboradorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 483, Short.MAX_VALUE)
        );

        pestañero.addTab("Colaborador", panelColaborador);

        jMenu1.setText("Archivo");

        jMenuItem1.setText("Salir");
        jMenu1.add(jMenuItem1);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Edit");
        jMenuBar1.add(jMenu2);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pestañero, javax.swing.GroupLayout.DEFAULT_SIZE, 805, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pestañero, javax.swing.GroupLayout.DEFAULT_SIZE, 511, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
        // TODO add your handling code here:

        String[] datos = (hoteles_eliminar.getSelectedItem() + "").split("/");
        String id = datos[datos.length - 1];

        if (id.equals("")) {
            return;
        }

        controladorHotel.borrar(id);
        hotel_eliminarN.setText("");
        hotel_eliminarD.setText("");
        actualizarHoteles();
    }//GEN-LAST:event_jButton3ActionPerformed

    private void hoteles_eliminarItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_hoteles_eliminarItemStateChanged
        // TODO add your handling code here:
        if (hoteles_eliminar.getItemCount() == 0) {
            return;
        }
        String[] datos = (hoteles_eliminar.getSelectedItem() + "").split("/");
        String id = datos[datos.length - 1];

        Hotel h = controladorHotel.consultar(id);
        hotel_eliminarN.setText(h.getNombre());
        hotel_eliminarD.setText(h.getDireccion());
    }//GEN-LAST:event_hoteles_eliminarItemStateChanged

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
        String[] datos = (hotel_hoteles.getSelectedItem() + "").split("/");
        String id = datos[datos.length - 1];

        String nombre = hotel_editarN.getText();
        String dir = hotel_editarD.getText();
        String tel = hotel_editarT.getText();
        String web = hotel_editarP.getText();

        if (id.equals("") || nombre.equals("") || dir.equals("") || tel.equals("") || web.equals("")) {
            JOptionPane.showMessageDialog(this, "Existen campos sin llenar!");
            return;
        }

        controladorHotel.modificar(id, nombre, dir, tel, web);
        hotel_editarN.setText("");
        hotel_editarD.setText("");
        hotel_editarT.setText("");
        hotel_editarP.setText("");
        actualizarHoteles();
    }//GEN-LAST:event_jButton2ActionPerformed

    private void hotel_hotelesItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_hotel_hotelesItemStateChanged
        // TODO add your handling code here:

        if (hotel_hoteles.getItemCount() == 0) {
            return;
        }
        String[] datos = (hotel_hoteles.getSelectedItem() + "").split("/");
        String id = datos[datos.length - 1];

        Hotel h = controladorHotel.consultar(id);
        hotel_editarN.setText(h.getNombre());
        hotel_editarD.setText(h.getDireccion());
        hotel_editarT.setText(h.getTelefono());
        hotel_editarP.setText(h.getWeb());
    }//GEN-LAST:event_hotel_hotelesItemStateChanged

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:

        String nombre = hotel_nombre.getText();
        String dir = hotel_dir.getText();
        String tel = hotel_tel.getText();
        String web = hotel_web.getText();

        if (nombre.equals("") || dir.equals("") || tel.equals("") || web.equals("")) {
            JOptionPane.showMessageDialog(this, "Existen campos sin llenar!");
            return;
        }

        controladorHotel.guardar(nombre, dir, tel, web);
        hotel_nombre.setText("");
        hotel_dir.setText("");
        hotel_tel.setText("");
        hotel_web.setText("");
        actualizarHoteles();
    }//GEN-LAST:event_jButton1ActionPerformed

    private void jBCrearEspacioDeportivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBCrearEspacioDeportivoActionPerformed
        // TODO add your handling code here:
        PanelGuardarEspacioDeportivo pGuardarEspacio = new PanelGuardarEspacioDeportivo();
        this.jPGestionEspacioDeportivo = pGuardarEspacio;
    }//GEN-LAST:event_jBCrearEspacioDeportivoActionPerformed

    private void jBEditarEspacioDeportivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBEditarEspacioDeportivoActionPerformed
        // TODO add your handling code here:
        PanelEditarEspacioDeportivo pEditarEspacio = new PanelEditarEspacioDeportivo();
         jPGestionEspacioDeportivo.setLayout(new BorderLayout());
        jPGestionEspacioDeportivo.add(pEditarEspacio, BorderLayout.CENTER);
        pEditarEspacio.setSize(pEditarEspacio.getWidth(), pEditarEspacio.getHeight());
        pEditarEspacio.validate();
        pEditarEspacio.setVisible(true);
        jPGestionEspacioDeportivo.validate();
        jPGestionEspacioDeportivo.setVisible(true);
       
        
        //jPGestionEspacioDeportivo.setVisible(true);
    }//GEN-LAST:event_jBEditarEspacioDeportivoActionPerformed

    private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
        // TODO add your handling code here:
        PanelEliminarEspacioDeportivo pEliminarEspacio = new PanelEliminarEspacioDeportivo();
        this.jPGestionEspacioDeportivo = pEliminarEspacio;
    }//GEN-LAST:event_jButton4ActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTable hotel_consulta;
    private javax.swing.JTextField hotel_dir;
    private javax.swing.JTextField hotel_editarD;
    private javax.swing.JTextField hotel_editarN;
    private javax.swing.JTextField hotel_editarP;
    private javax.swing.JTextField hotel_editarT;
    private javax.swing.JLabel hotel_eliminarD;
    private javax.swing.JLabel hotel_eliminarN;
    private javax.swing.JComboBox hotel_eventos;
    private javax.swing.JComboBox hotel_hoteles;
    private javax.swing.JTextField hotel_nombre;
    private javax.swing.JTextField hotel_tel;
    private javax.swing.JTextField hotel_web;
    private javax.swing.JComboBox hoteles_eliminar;
    private javax.swing.JButton jBCrearEspacioDeportivo;
    private javax.swing.JButton jBEditarEspacioDeportivo;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JPanel jPGestionEspacioDeportivo;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel14;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JSeparator jSeparator3;
    private javax.swing.JTabbedPane jTabbedPane2;
    private javax.swing.JTable jTable1;
    private javax.swing.JPanel panelColaborador;
    private javax.swing.JPanel panelEvento;
    private javax.swing.JTabbedPane pestañero;
    // End of variables declaration//GEN-END:variables
}
